package com.j180.spring_jwt_demo.controller;

import com.j180.spring_jwt_demo.bean.ResultBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {

    @GetMapping("isLogin")
    public ResultBean isLogin(){

        ResultBean resultBean = new ResultBean();

        resultBean.setCode(0);
        resultBean.setMsg("已登录");
        return resultBean;
    }
}
